home *** CD-ROM | disk | FTP | other *** search
- on animButton theClicks
- puppetSound("Click")
- set whichSprite to the clickOn
- set whichCast to the castNum of sprite whichSprite
- set the castNum of sprite whichSprite to whichCast + 1
- updateStage()
- theTempo(theClicks)
- set the castNum of sprite whichSprite to whichCast
- updateStage()
- end
-
- on theTempo theClicks
- set y to the timer
- repeat while the timer < (y + theClicks)
- end repeat
- end
-